<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html">
    <h:head>
        <title>Facelet Title</title>
        <!-- Latest compiled and minified CSS -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css"></link>

        <!-- Optional theme -->
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap-theme.min.css"></link>

        <!-- Latest compiled and minified JavaScript -->
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    </h:head>
    <h:body>
        Hello from Facelets
        <h:form>
            <h:panelGrid>
                <h:outputLabel value="Username: " style="font-weight:bold" />
                <h:inputText value="#{gebruikerController.gebruikersnaam}" />
                <h:outputLabel value="Password: " style="font-weight:bold" />
                <h:inputSecret value="#{gebruikerController.password}" />
                <h:commandButton value="Login" action="#{gebruikerController.aanmelden}"/>
            </h:panelGrid>
        </h:form>


    </h:body>
</html>

